package com.learn.pojo;

/**
 * @author DJJ_F
 * @version 1.0
 * @date 2025/02/20
 * @description
 */
public class Account {
    private Integer id;
    private Double balance;

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", balance=" + balance +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Account(Integer id, Double balance) {
        this.id = id;
        this.balance = balance;
    }

    public Account() {
    }
}
